<!DOCTYPE html> 
<html>
<head>
<title>${name}</title>
<meta charset="UTF-8">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv="x-dns-prefetch-control" content="on" />
<link rel="dns-prefetch" href="//logo.taobao.com">
<link rel="dns-prefetch" href="//img.alicdn.com">
<link rel="dns-prefetch" href="//img04.taobaocdn.com">
<link rel="shortcut icon" type="image/ico" href="/favicon.ico">
${Styles.src(zhiqim.css)}
${Scripts.src(zhiqim.js)}
${Scripts.jQuery("1.7.0")}
${Scripts.src(redxyz.js)}
${Styles.src(redxyz.css)}
${Styles.src("/zres/css/comm.css")}

${Scripts.src("/ztmpl/JsUtils.js")}
${Scripts.src("/ztmpl/TopRequest.js?s=1563")}

</head>
<body>
<!--顶部导航 -->
<div class="topnav">
    <div class="topnav-wrap">
        <ul class="linkwrap">
            <li>${session.getSessionUser(SessionUser.class).getHourString()}&nbsp;&nbsp;<span style="color:#ff6633">${session.getSessionUser(SessionUser.class).getNickLogined()}</span>&nbsp;&nbsp;欢迎登录${name}软件 [<a class="green" href="/logout.htm">安全退出</a>]</li>
            <li class="right"><a class="link" href="http://fuwu.taobao.com/ser/detail.htm?service_code=${Global.getString("taobao", "articleCode")}" target="_blank">资费服务页</a></li>
            <li class="right"><a class="link" href="/userVersion.htm">续费/升级/各版本区别</a></li>
            <li class="right"><a class="link" href="${session.getSessionUser(SessionUser.class).getShopUrl()}" target="_blank">返回店铺</a></li>
            <li class="right"><a class="link" href="/download.htm">加入桌面快捷</a></li>
        </ul>
    </div>
</div>
<!--mainnav-->
<#var nav1Id = NavWebDao.getLinkNav1Id(request, redxyz_parentUrl)/>
<#if Validates.isEmpty(nav1Id)>
    <#var nav1Id = "NAV_100"/>
</#if>
<div class="mainnav">
<div class="mainnav-wrap">
    <div class="logo"><a title="${name}" href="/index.htm"><img alt="${context.getContextName()}" src="/zres/logo.png"></a></div>
    <ul class="mainnav-link">
        <#for item : NavWebDao.getNav1List()>
        <#if NavWebDao.hasChild(item.getNavId())>
            <li onmouseout="TopBase.doHide('index${item_index}', event)">
            <a class="link<#if item.getNavId() == nav1Id> active</#if>" onmouseover="TopBase.doDisplay('index${item_index}', event)" href="<#if item.getNavPermission() == 1>${Permission.getWebUrl(request, item.getNavUrl())}<#else>${item.getNavUrl()}</#if>">${item.getNavName()}<i class="arrow"></i></a>
            <ul id="index${item_index}" style="display:none;">
                <#var navChildren = NavWebDao.getChildren(item.getNavId()) />
                <#for nav : navChildren>
                    <#if nav.getNavPermission() == 1>
                        <li><a class="sublink<#if navChildren.size() == nav_index+1> end</#if>" href="${Permission.getWebUrl(request, nav.getNavUrl())}">${nav.getNavName()}</a></li>
                    <#else>
                       <li><a class="sublink<#if navChildren.size() == nav_index+1> end</#if>" href="${nav.getNavUrl()}">${nav.getNavName()}</a></li>
                    </#if>
                </#for>
            </ul>
            </li>
        <#else>
            <li><a class="link<#if item.getNavId() == nav1Id> active</#if>" href="<#if item.getNavPermission() == 1>${Permission.getWebUrl(request, item.getNavUrl())}<#else>${item.getNavUrl()}</#if>">${item.getNavName()}</a></li> 
        </#if>
        </#for>
    </ul>
</div>
</div>
</div>
<!--容器开始 -->
<div id="container" class="container">
<!--sidebar-->
<div class="sidebar">
    <div class="item">
        <div class="title">${context.getContextName()}</div>
        <div class="me">
            <div class="img"><a href="http://mai.taobao.com/seller_admin.htm?svid=405" target="_blank" title="您的店标"><img src="<#if Validates.isEmpty(session.getSessionUser(SessionUser.class).getShopPic())>/zres/shop_no_pic.gif<#else>${session.getSessionUser(SessionUser.class).getShopPic()}</#if>" width="60" height="60" onerror="this.style.display='none'"></a></div>
            <div class="name">店名：${Strings.substringLen(session.getSessionUser(SessionUser.class).getShopTitle(), 5)}</div>
            <div class="expire">还剩：<span style="font-weight:700;color:#FF0000">${session.getSessionUser(SessionUser.class).getExpireDayNum()}</span>天到期</div>
        </div>
        <ul>
          <li><i class="pos"></i><a href="http://mai.taobao.com/seller_admin.htm" target="_blank">返回淘宝卖家中心</a></li>
          <li><i class="pos"></i><a href="/shopOnsale.htm" >查看出售中的宝贝</a></li>
          <li><i class="pos"></i><a href="/shopInventory.htm" >查看仓库中的宝贝</a></li>
          <li><i class="pos"></i><a href="/itemDistribute.htm">查看上下架分布</a></li>
        </ul>
    </div>
    
    <div class="item z-mg-t15">
        <div class="title">客户服务</div>
        <p>服务：09:00 - 18:00 </p>
        <p>电话：18170330590</p>
        <p>邮箱：csydw2021@foxmail.com</p>
        <p>客服：<a target="_blank" href="http://www.taobao.com/webww/ww.php?ver=3&siteid=cntaobao&status=1&charset=utf-8&touid=mengbaby2008"><img border="0" src="//amos.alicdn.com/realonline.aw?v=2&site=cntaobao&s=1&charset=utf-8&uid=知启蒙科技" alt="点击这里给我发消息" /></a></p>
        <p>双休日以及节假日，不定时在线，紧急情况请拔打服务电话！</p>
    </div>
</div>
<!--mainVersion-->
<div class="usernav">
    <div class="usernav-wrap">
        您当前版本：${session.getSessionUser(SessionUser.class).getGiftVersionDesc()} [${session.getSessionUser(SessionUser.class).getGiftEndDate()}]，离到期还剩<span style="font-weight:700;color:#FF0000">&nbsp;${session.getSessionUser(SessionUser.class).getExpireDayNum()}&nbsp;</span>天&nbsp;<a href="/userVersion.htm"><img src="/zres/upgrade.gif"></a>
    </div>
    <div class="usernav-last">
       <div class="content">如果您有定制上下架需求，请和我们联系！</div>
    </div>
</div>
<div class="mainbody">
<#include include/>
<!--容器结束-->
</div>
</div>

<div class="footer">
<div class="footer-wrap">Copyright©2015 zhiqim.com All Rights Reserved 湖南知启蒙科技有限公司&nbsp;版权所有&nbsp;&nbsp; 湘ICP备17004906号-3</div>
</div>
</body>
</html>